﻿using System;
using Lua;

namespace Assets.Scripts.AI.Actions.Interaction
{
	// Token: 0x020001DB RID: 475
	public class WreckAction : AgentAction
	{
		// Token: 0x06000A28 RID: 2600 RVA: 0x00059EA7 File Offset: 0x000580A7
		public WreckAction(Animation animationController)
		{
			this.mAnimationController = animationController;
		}

		// Token: 0x06000A29 RID: 2601 RVA: 0x00059EB6 File Offset: 0x000580B6
		public override void StartAction()
		{
			this.mAnimationController.SetAndWait("Stomping");
			this.mComplete = true;
		}

		// Token: 0x06000A2A RID: 2602 RVA: 0x00059ECF File Offset: 0x000580CF
		public override bool IsCompleted()
		{
			return this.mComplete;
		}

		// Token: 0x04000F8B RID: 3979
		private bool mComplete;

		// Token: 0x04000F8C RID: 3980
		private readonly Animation mAnimationController;
	}
}
